<?php
/**
 * Created by PhpStorm.
 * User: R.Ice
 * Date: 2019/1/26
 * Time: 14:07
 */

//获取参数
$cta_id = $route->bodyParams["cta_id"];//主键ID

$whereArr = [
    "cta_id" => $cta_id
];

//执行写入语句
$rsData = $db->mysqlDB->delete("oa_course_time_attachment",$whereArr,false);

//返回成功结果
$response->responseData( true, $rsData );